const StudentBaseInfo = resolve =>
    require(['common/src/views/student/studentBaseInfoNew'], resolve);
const CreateEduBack = resolve =>
    require(['common/src/views/student/createEduBack'], resolve);
const StudentRollCheck = resolve =>
    require(['common/src/views/student/studentRollCheck'], resolve);
const TeacherRollCheck = resolve =>
    require(['common/src/views/student/teacherRollCheck'], resolve);
const TeacherRollChecks = resolve =>
    require(['common/src/views/student/teacherRollChecks'], resolve);
const TeacherRollCheckApproved = resolve =>
    require(['common/src/views/student/teacherRollCheckApproved'], resolve);
const TeacherRollCheckUnapproved = resolve =>
    require(['common/src/views/student/teacherRollCheckUnapproved'], resolve);
const StudentRollDetail = resolve =>
    require(['common/src/views/student/studentRollDetail'], resolve);
const TeacherRollDetail = resolve =>
    require(['common/src/views/student/TeacherRollDetail'], resolve);
const layout = resolve => require(['common/src/views/layout'], resolve);
const supervisorAssign = resolve =>
    require(['common/src/views/administrator/studentInfo/supervisorAssign'], resolve);
const activationStateQuery = resolve =>
    require([
        'common/src/views/administrator/studentInfoActivation/activationStateQuery'
    ], resolve);
const infoActivationSetting = resolve =>
    require([
        'common/src/views/administrator/studentInfoActivation/infoActivationSetting'
    ], resolve);

const Student = {
    path: '/student',
    name: 'student',
    component: layout,
    children: [
        {
            path: '/StudentBaseInfo/:id(\\d+)',
            name: 'StudentBaseInfo',
            component: StudentBaseInfo,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/StudentBaseInfo',
            name: 'StudentBaseInfo',
            component: StudentBaseInfo,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/CreateEduBack/:uid',
            name: 'CreateEduBack',
            component: CreateEduBack,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/CreateEduBack/:uid/:id(\\d+)',
            name: 'CreateEduBack',
            component: CreateEduBack,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/StudentRollCheck',
            name: 'StudentRollCheck',
            component: StudentRollCheck,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/TeacherRollChecks/:id(\\d+)',
            name: 'TeacherRollChecks',
            component: TeacherRollChecks,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/TeacherRollCheck',
            name: 'TeacherRollCheck',
            component: TeacherRollCheck,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/TeacherRollCheckApproved',
            name: 'TeacherRollCheckApproved',
            component: TeacherRollCheckApproved,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/TeacherRollCheckUnapproved',
            name: 'TeacherRollCheckUnapproved',
            component: TeacherRollCheckUnapproved,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/StudentRollDetail',
            name: 'StudentRollDetail',
            component: StudentRollDetail,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/TeacherRollDetail',
            name: 'TeacherRollDetail',
            component: TeacherRollDetail,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/supervisorAssign',
            name: 'supervisorAssign',
            component: supervisorAssign
        },
        {
            path: '/activationStateQuery',
            name: 'activationStateQuery',
            component: activationStateQuery
        },
        {
            path: '/infoActivationSetting',
            name: 'infoActivationSetting',
            component: infoActivationSetting
        }
    ]
};
export default Student;
